package com.ruoyi.project.content.banner.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 【请填写功能名称】对象 c_banner
 *
 * @author ruoyi
 * @date 2019-12-07
 */
public class Banner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long bannerId;

    /** banner标题 */
    @Excel(name = "banner标题")
    private String bannerTitle;

    /** 添加时间 */
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addTime;

    /** 封面图片 */
    @Excel(name = "封面图片")
    private String coverPhoto;

    /** 正文内容 */
    @Excel(name = "正文内容")
    private String textContent;

    /** 富文本编辑文字 */
    @Excel(name = "富文本编辑文字")
    private String richText;

    /** 富文本编辑图片 */
    @Excel(name = "富文本编辑图片")
    private String richPhoto;

    public void setBannerId(Long bannerId)
    {
        this.bannerId = bannerId;
    }

    public Long getBannerId()
    {
        return bannerId;
    }
    public void setBannerTitle(String bannerTitle)
    {
        this.bannerTitle = bannerTitle;
    }

    public String getBannerTitle()
    {
        return bannerTitle;
    }
    public void setAddTime(Date addTime)
    {
        this.addTime = addTime;
    }

    public Date getAddTime()
    {
        return addTime;
    }
    public void setCoverPhoto(String coverPhoto)
    {
        this.coverPhoto = coverPhoto;
    }

    public String getCoverPhoto()
    {
        return coverPhoto;
    }
    public void setTextContent(String textContent)
    {
        this.textContent = textContent;
    }

    public String getTextContent()
    {
        return textContent;
    }
    public void setRichText(String richText)
    {
        this.richText = richText;
    }

    public String getRichText()
    {
        return richText;
    }
    public void setRichPhoto(String richPhoto)
    {
        this.richPhoto = richPhoto;
    }

    public String getRichPhoto()
    {
        return richPhoto;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("bannerId", getBannerId())
                .append("bannerTitle", getBannerTitle())
                .append("addTime", getAddTime())
                .append("coverPhoto", getCoverPhoto())
                .append("textContent", getTextContent())
                .append("richText", getRichText())
                .append("richPhoto", getRichPhoto())
                .toString();
    }
}
